package kr.co.hanbit;

public class MP3p {
	private String color;
	private int memory;
	static String maker; 
	public MP3p() {
		color = null;
		memory = 0;
	}	
	public void memoryUp(int n) {
		memory += n;
	}
	public void dispMemoryUp() {
		System.out.println(memory);
	}
	public void setColor(String c) {
		color = c;
	}
	public void dispColor() {
		System.out.println(color);
	}
	public class TestMain {
	}

	public static void main(String[] args) {
			MP3p m3;
			m3 = new MP3p();
			Sub1 sub1 = new Sub1();
			sub1.setNumber(1);
			sub1.dispNumber();
			System.out.println(m3.color);
			System.out.println(m3.memory);
	}

}
class Sub1{
	int number;
	public void setNumber(int n) {
		number = n;
	}
	public void dispNumber() {
		System.out.println(number);
	}
}
